package com.pandora.credit.mongo.dao;

import com.pandora.credit.mongo.entity.CustomerReportCriteria;
import com.pandora.credit.mongo.entity.H5Report;

import java.util.List;

/**
 * @author developer
 */
public interface H5ReportDao {

    /**
     * insert
     * @param message message
     */
    public void insert(H5Report message);

    /**
     * selectById
     * @param id id
     * @return H5Report
     */
    H5Report selectById(long id);

    /**
     * selectCustomerReports
     * @param crc crc
     * @return H5ReportList
     */
    public List<H5Report> selectCustomerReports(CustomerReportCriteria crc);

    /**
     * selectByCusType
     * @param customerId customerId
     * @param type type
     * @return H5ReportList
     */
    public List<H5Report> selectByCusType(long customerId, String type);
}
